<?php require_once("includes/configurations.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
	
<html>
	<head>
	
		<title>
			Reservation App for UPLB's DL UMALI Building
		</title>
	</head>
	<body>
		<h1>Reservation App for UPLB's DL UMALI Building</h1>
		<hr/>
		<div align="center">
		
		<?php 
			$query = "SELECT * FROM message ";
			$query .= "ORDER BY id";
			$result = mysql_query($query) or die ('Query failed'.mysql_error());

			while($message = mysql_fetch_array($result)) {
				echo "<h2>{$message["message"]}</h2>";
			}	
		?>
		</div>
	</body>
</html>
